package com.hex.ds.hdtp.core.web.script.analyze.converter;

import com.hex.ds.hdtp.core.app.script.analyze.dto.request.ScriptAnalyzeTaskRequestDto;
import com.hex.ds.hdtp.core.web.script.analyze.vo.ScriptAnalyzeTaskVo;
import com.hex.ds.hdtp.core.web.script.analyze.vo.query.ScriptAnalyzeTaskQueryVo;
import org.mapstruct.Mapper;

/**
 * @Package com.hex.ds.hdtp.core.web.script.analyze.converter
 * @ClassName IScriptAnalyzeTaskVoConverter
 * @Description 脚本分析任务VO对象转RequestDTO对象转换器
 * @Author gj.xu
 * @Date 2023/12/7 14:49
 * @Version v2.0
 **/
@Mapper(componentModel = "spring")
public interface IScriptAnalyzeTaskVoConverter {

    ScriptAnalyzeTaskRequestDto toScriptAnalyzeTaskRequestDto(ScriptAnalyzeTaskVo scriptAnalyzeTaskVo);

    ScriptAnalyzeTaskRequestDto toScriptAnalyzeTaskRequestDto(ScriptAnalyzeTaskQueryVo scriptAnalyzeTaskQueryVo);
}
